import layoutHeaderAside from '@/layout/header-aside'
const files = require.context('./', true, /\.js$/)

let componentMaps = {
  'layoutHeaderAside': layoutHeaderAside,
  'review_all': () => import('@/views/review/all/index.vue'),
  'review_need': () => import('@/views/review/needReview/index.vue'),
  'review_addnew': () => import('@/views/review/addnew/index.vue'),
  'menu': () => import('@/views/system/userperm/menu.vue'),
  'router': () => import('@/views/system/router')
  //   'role': () => import(/* webpackChunkName: "role" */'@/pages/sys/role'),
  //   'user': () => import(/* webpackChunkName: "user" */'@/pages/sys/user')
}
files.keys().forEach((key) => {
  if (key === './index.js') return
  Object.assign(componentMaps, files(key).default)
})
export default componentMaps
